
import request from '@/utils/request'

export function listauditPlan(query) {
  return request({
    url: '/system/auditPlan/list',
    method: 'get',
    params: query
  })
}
export function selectList(query) {
  return request({
    url: '/system/auditPlan/listSelect',

    method: 'get',
    params: query
  })
}
export function delauditPlan(compFeeIds) {
  return request({
    url: '/system/auditPlan/' + compFeeIds,
    method: 'delete'
  })
}
export function auditPlanAdd(data) {
  return request({
    url: '/system/auditPlan',
    method: 'post',
    data: data
  })
}
export function updategauditPlan(data) {
  return request({
    url: '/system/auditPlan',
    method: 'put',
    data: data
  })
}
export function auditPlanInfo(query) {
  return request({
    url: '/system/auditPlan/' + query,
    method: 'get',
  })
}
// 启用禁用供应商
export function effectauditPlan(id, effect) {
  console.log('11')
  return request({
    url: '/system/auditPlan/effect/' + id + '/' + effect,
    method: 'put',
  })
}
export function getParentList(query) {
  return request({
    url: '/system/checkContentSetting/getParentList',
    method: 'get',
  })
}
export function satisfactionList(query) {
  return request({
    url: '/system/satisfaction/list',
    method: 'get',
    params: query
  })
}
export function satisfactionAdd(data) {
  return request({
    url: '/system/satisfaction',
    method: 'post',
    data: data
  })
}
export function satisfactionEdit(data) {
  return request({
    url: '/system/satisfaction',
    method: 'put',
    data: data
  })
}
export function satisfactionDel(innerSatisfactionIds) {
  return request({
    url: '/system/satisfaction/' + innerSatisfactionIds,
    method: 'delete'
  })
}